package fms.webservice.server.common;

import javax.xml.bind.annotation.*;

@XmlRootElement(namespace = "")
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "PosRequestXML", propOrder = {
        "username",
        "password",
        "aircraftid",
        "airlines",
        "cptname"
})
public class PosRequestXML {
    @XmlElement(required = true)
    private String username;
    @XmlElement(required = true)
    private String password;
    @XmlElement(required = true)
    private String cptname;               //航路点名称
//    @XmlElement(required = true)
//    private String requestdate;          //请求日期
    @XmlElement(required = true)
    private String aircraftid;             //机尾号
    @XmlElement(required = true)
    private String airlines;               //航空公司二字码
//    @XmlElement(required = true)
//    private String flightID;             //航班号

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getCptname() {
        return cptname;
    }

    public void setCptname(String cptname) {
        this.cptname = cptname;
    }

//    public String getRequestdate() {
//        return requestdate;
//    }
//
//    public void setRequestdate(String requestdate) {
//        this.requestdate = requestdate;
//    }

    public String getAircraftid() {
        return aircraftid;
    }

    public void setAircraftid(String aircraftid) {
        this.aircraftid = aircraftid;
    }

    public String getAirlines() {
        return airlines;
    }

    public void setAirlines(String airlines) {
        this.airlines = airlines;
    }

//    public String getFlightID() {
//        return flightID;
//    }
//
//    public void setFlightID(String flightID) {
//        this.flightID = flightID;
//    }
}
